<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>

<link rel="stylesheet" type="text/css" href='./board/board.css'>
<script src='./board/board.js'></script>

</head>
<body>

<%
String mid = (String)session.getAttribute("mid");
String part = (String)session.getAttribute("part");
if("익명게시판".equals(part)) mid = "익명";
%>
<!-- title -->
<div id='bb_title'><%=part%> - 글작성</div><br/>
<!-- end title -->
<form id='brd_out' name='frm_save' action='' method="post" enctype="multipart/form-data">
	<input type="hidden" name="mid" value="<%=mid%>">
	<input type="hidden" name="part" value="<%=part%>">
	

<div id='brd_line'>
	<div id='brd_left'>작성자</div>
	<div id='brd_right'>
		<%=mid%>
	</div>
		
</div>
<div id='brd_line'>
	<div id='brd_left'>제목</div>
	<div id='brd_right'><input style="width: 540px;"type="text" name='subject'></div>
</div>
<div id='brd_line'>
	<div id='brd_left'>파일등록</div>
	<div id='brd_right'><input type="file" name='filename'></div>
</div>
<div id='brd_line'>
	<div id='brd_left'>비밀번호</div>
	<div id='brd_right'><input type="password" name='pwd'></div>
</div>
<div id='brd_line'>
	<div id='brd_all'>내용</div>
</div>
<div id='brd_line2'>
	<textarea rows="10" cols="100" name="content"></textarea>
</div>
<div id='brd_line'>
	<input type='button' value='등록' id="brd_btnSave">
	<input type='button' value='목록' id="brd_btnList">
</div>
</form>

</body>
</html>